package com.mes.defece.service;

import com.mes.common.pojo.MESResult;
import com.mes.pojo.defece.Defece;

public interface DefeceService {
//    分页查询缺陷数据
    MESResult selectCount(Defece defece,Integer page ,Integer limit);
//    新增缺陷
    MESResult addDefece(Defece defece);
//    根据id查询缺陷数据
    MESResult selectById(Long defeceId);
//    根据id修改缺陷数据
    MESResult updateDefece(Defece defece);
//    根据id修改缺陷状态
    MESResult updateDefeceStatus(Long defeceId,Integer defeceStatus);
}
